home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
FLM
/
otherfiles
/
english
/
ARexx
/
ww_look.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-01
|
872b
|
28 lines
/* This script sends "a word" to FLM:
As a result FLM opens the FLM ARexx window
If you link this script with a menu or toolbar, in some ways something
doesn't yet work.
To test it, I had the version 4 SE of Wordworth. Maybe my script works
with the full version of Wordworth. Should you have an idea how
improving the FLM linking with Wordworth, I would be grateful if you
send it to me.
*/
/* Here indicate, please, the FLM path and program name */
initiation=run "dh0:FLM/FLM"
Options RESULTS /* To receive a return result too */
IF ~show('P','FLM') THEN DO
/* if FLM is not yet running */
ADDRESS COMMAND initiation
/* Wait until FLM is started... */
ADDRESS COMMAND "SYS:RexxC/WaitForPort FLM"
END
RESULT='' /* Unfortunately I've found no ARexx command that returns the
current selected word */
Address FLM LOOKWORD RESULT